package top.hmtools.ckfinder.beans;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import top.hmtools.ckfinder.beans.commons.BaseResultBean;
import top.hmtools.ckfinder.beans.commons.CurrentFolderBean;
import top.hmtools.ckfinder.beans.commons.NewFolderBean;

@XmlRootElement(name="Connector")
public class CreateFolderResultBean extends BaseResultBean{

	@XmlElement(name="CurrentFolder")
	private CurrentFolderBean currentFolderBean;
	
	@XmlElement(name="NewFolder")
	private NewFolderBean newFolderBean;

	@XmlTransient
	public CurrentFolderBean getCurrentFolderBean() {
		return currentFolderBean;
	}

	public CreateFolderResultBean setCurrentFolderBean(CurrentFolderBean currentFolderBean) {
		this.currentFolderBean = currentFolderBean;
		return this;
	}

	@XmlTransient
	public NewFolderBean getNewFolderBean() {
		return newFolderBean;
	}

	public CreateFolderResultBean setNewFolderBean(NewFolderBean newFolderBean) {
		this.newFolderBean = newFolderBean;
		return this;
	}
	
	
}
